package com.ktjy.entity;

public class Employee {
    private String name;
    private int age;
    private String position;

    public void introduce(){
        System.out.println("大家好，我叫"+name+"，今年"+age+"岁，我的岗位是"+position);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }
}
